;(function() {
	var global = {}
	global.install = function(vue) {
		vue.prototype.$global = function() {
			var host;
			if(window.location.port) {
				/*本地开发请求后台地址*/
				host = 'http://47.106.98.87:8083/' 
			} else {
				/*测试环境、生产环境请求后台地址*/
				host = 'http://47.106.98.87:8083/';
			}
			return {
				host: host
			}
		}
	}
	if(typeof exports == 'object') {
		module.exports = global
	}
})()